/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Beans;

/**
 *
 * @author VIC
 */
public class NhanVien {
    private int MaNV;
    private int MaNNV;
    private String HoTen;
    private String TenDN;
    private String MatKhau;
    private String DiaChi;
    private String SoDT;
    private String NgayVaoLam;
    private byte TinhTrang;
    public NhanVien(){
        MaNV = 0;
        MaNNV = 0;
        HoTen = "";
        TenDN = "";
        MatKhau = "";
        DiaChi = "";
        SoDT = "";
        NgayVaoLam = "";
        TinhTrang = 0;
    }
    public void setMaNV (int value){
        MaNV = value;
    }
    public int getMaNV(){
        return MaNV;
    }
    public void setMaNNV (int value){
        MaNNV = value;
    }
    public int getMaNNV(){
        return MaNNV;
    }
    public void setHoTen (String value){
        if(value == null)
            value = "";
        HoTen = value;
    }
    public String getHoTen(){
        return HoTen;
    }
    public void setTenDN (String value){
        if(value == null)
            value = "";
        TenDN = value;
    }
    public String getTenDN(){
        return TenDN;
    }
    public void setMatKhau (String value){
        if(value == null)
            value = "";
        MatKhau = value;
    }
    public String getMatKhau(){
        return MatKhau;
    }
    public void setDiaChi (String value){
        if(value == null)
            value = "";
        DiaChi = value;
    }
    public String getDiaChi(){
        return DiaChi;
    }
    public void setSoDT (String value){
        if(value == null)
            value = "";
        SoDT = value;
    }
    public String getSoDT(){
        return SoDT;
    }
    public void setNgayVaoLam (String value){
        if(value == null)
            value = "";
        NgayVaoLam = value;
    }
    public String getNgayVaoLam(){
        return NgayVaoLam;
    }
    public void setTinhTrang (byte value){
        TinhTrang = value;
    }
     public byte getTinhTrang(){
        return TinhTrang;
    }
}
